<?php

namespace App\Models\Base;

use Illuminate\Database\Eloquent\Model;

class ServerPlan extends Model
{
    protected $fillable = [
        'server_id',
        'name',
        'status',
        'port',
        'reg_id',
        'open_time',
        'desc',
    ];

    //游戏服的大区
    public function region()
    {
        return $this->belongsTo('App\Models\Base\Regional', 'reg_id');
    }
}
